package mr.zhang.pojo.model;

import java.util.HashSet;
import java.util.Set;

/**
 * SysMenu entity. @author MyEclipse Persistence Tools
 */

public class SysMenu implements java.io.Serializable {

	// Fields

	private Integer id;
	private String menuName;
	private String menuUrl;
	private Integer parentMenuId;
	private Set sysAuthorityMenus = new HashSet(0);

	// Constructors

	/** default constructor */
	public SysMenu() {
	}

	/** full constructor */
	public SysMenu(String menuName, String menuUrl, Integer parentMenuId,
			Set sysAuthorityMenus) {
		this.menuName = menuName;
		this.menuUrl = menuUrl;
		this.parentMenuId = parentMenuId;
		this.sysAuthorityMenus = sysAuthorityMenus;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMenuName() {
		return this.menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getMenuUrl() {
		return this.menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public Integer getParentMenuId() {
		return this.parentMenuId;
	}

	public void setParentMenuId(Integer parentMenuId) {
		this.parentMenuId = parentMenuId;
	}

	public Set getSysAuthorityMenus() {
		return this.sysAuthorityMenus;
	}

	public void setSysAuthorityMenus(Set sysAuthorityMenus) {
		this.sysAuthorityMenus = sysAuthorityMenus;
	}

}